/**
 * Copyright (C), 2021, 中电福富信息科技有限公司
 * FileName: OperateLogByAreaEvt
 * Author:   xujiajun
 * Date:     2021/2/1 15:51
 */
package com.example.demo.web.rest.evt.log;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.example.demo.client.evt.sysbasequery.GetRegionEvt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * Description:
 * @Author xujiajun
 * @Date 2021/2/1  15:51
 */
@ApiModel("操作日志根据区域统计")
public class QryOperateLogEvt extends GetRegionEvt {
    private static final long serialVersionUID = -5582596094521623091L;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date startTime;
    @ApiModelProperty("截止时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date endTime;
    @ApiModelProperty("排序类型 1：根据使用次数 2：登录次数 3：有效用户数")
    private Integer orderType = 1;
    @ApiModelProperty("用户类型，账号归属类型")
    private Integer userType;
    @ApiModelProperty("全量区域id")
    private String fullRegion;

    @Override
    public String toString() {
        return "QryOperateLogEvt{" +
                "startTime=" + startTime +
                ", endTime=" + endTime +
                ", orderType=" + orderType +
                ", userType=" + userType +
                ", fullRegion='" + fullRegion + '\'' +
                '}';
    }

    public String getFullRegion() {
        return fullRegion;
    }

    public void setFullRegion(String fullRegion) {
        this.fullRegion = fullRegion;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }
}